const san = require('/js-modules/common/san/san.js')
const EmptyView = san.defineComponent({
  template: `
        <template>
            <div s-if="{{open}}" class="san-empty-wrap">
                <div class="table-wrapper">
                    <div class="empty-ctn-wrap">
                        <div class="content">
                          <img src="{{imgsrc}}" />
                          <p>{{tips||'暂无相关内容'}}</p>
                        </div>
                    </div>
                </div>
            </div>
        </template>
    `,
  initData() {
    return {
      imgsrc: __uri('../../../../assets/imgs/empty.png'),
    }
  }
})

module.exports = EmptyView;